package com.googlecode.classgrep.grep.annotated.client;

import java.lang.annotation.Annotation;
import java.util.List;
import java.util.Map;

import com.googlecode.classgrep.info.FieldInfo;

public interface FieldGrepClient {


	
	/**
	 * 
	 * Get unmodifiable annotated field Map, if invoke by GrepRobot
	 * 
	 * 
	 * @return
	 */
	Map<String, List<FieldInfo>> getAnnotatedFieldMap();
	
	
	/**
	 * 
	 * find unmodifiable annotated field list by annotation, if invoke by GrepRobot
	 * 
	 * 
	 * @param annotation
	 * @return
	 */
	List<FieldInfo> findAnnotatedFields(Class<? extends Annotation> annotation);
	
	
}
